@extends('model/homeLogin')

@section('title','用户登录')

@section('content')
<div class="log_c">
  @if(session('success'))
    <div class="mws-form-message success">
       {{session('success')}}
    </div>
  @endif
  @if(session('error'))
    <div class="mws-form-message error">
       {{session('error')}}
    </div>
  @endif
  <form action="/doLogin" method='post'>
    <table border="0" style="width:370px; font-size:14px; margin-top:30px;" cellspacing="0" cellpadding="0">
      <tr height="50" valign="top">
        <td width="55">&nbsp;</td>
        <td>
          <span class="fl" style="font-size:24px;">会员登录</span>
          <span class="fr">还没有会员账号，<a href="/regist" style="color:#ff4e00;">立即注册</a></span>
        </td>
      </tr>
      <tr height="70">
        <td>用户名:</td>
        <td><input type="text" value="" class="l_user" name='username' placeholder="请输入用户名" /></td>
      </tr>
      <tr height="70">
        <td>密&nbsp; &nbsp; 码:</td>
        <td><input type="password" value="" class="l_pwd" name='password' placeholder="请输入密码" /></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td style="font-size:12px; padding-top:20px;">
          <!-- <span style="font-family:'宋体';" class="fl">
                          <label class="r_rad"><input type="checkbox" /></label><label class="r_txt">请保存我这次的登录信息</label>
                        </span> -->
          <span class="fr"><a href="#" style="color:#ff4e00;">忘记密码</a></span>
        </td>
      </tr>
      <tr height="60">
        <td>&nbsp;</td>
        <td>
          {{ csrf_field() }}
          <input type="submit" value="登录" class="log_btn" />
        </td>
      </tr>
    </table>
  </form>
</div>

@endsection






